package com.example.meitao.bean;

import org.json.JSONException;
import org.json.JSONObject;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 星星 on 2016/8/13.
 */
public class ChunWen {

    /**
     * count : 30
     * err : 0
     * items : [{"format":"word","image":null,"published_at":1471065902,"tag":"","user":{"avatar_updated_at":1470492953,"uid":11177867,"last_visited_at":1378741917,"created_at":1378741917,"state":"bonded","last_device":"android_2.6","role":"n","login":"孟婆卖萌不卖汤、","id":11177867,"icon":"2016080614155363.JPEG"},"image_size":null,"id":117258621,"votes":{"down":-12,"up":473},"created_at":1471063330,"content":"姐妹儿旅游住旅馆，走的时候让旅馆师傅把她送到安全点的地方下车。于是，她们就在公安局下车了。哈哈哎哎哎\u2026\u2026","state":"publish","comments_count":17,"allow_comment":true,"share_count":8},{"format":"word","image":null,"published_at":1471054501,"tag":"","user":null,"image_size":null,"id":117256964,"hot_comment":{"status":"publish","user_id":13841948,"floor":6,"ip":"117.136.81.194","created_at":"2016-08-13 11:09:48","comment_id":363245613,"like_count":157,"pos":0,"content":"楼主说\u201c嫂子别急，我去买几个榴莲去。\u201d嫂子\u201c为啥？\u201d楼主\u201c他妈的，我女朋友也去洗澡了！\u201d","source":"android","score":null,"parent_id":0,"anonymous":0,"neg":0,"article_id":117256964,"user":{"avatar_updated_at":1422637589,"uid":13841948,"last_visited_at":1390842538,"created_at":1390842538,"state":"active","last_device":"android_2.7","role":"n","login":"无语夜行者","id":13841948,"icon":"20150131010629.jpg"}},"votes":{"down":-126,"up":4602},"created_at":1471049499,"content":"去我哥家，看见嫂子坐在沙发上，我哥和我4岁的侄子在旁边跪着。\n我就问我嫂子咋回事。。。\n原来我哥拿了两台手机开了视频，让侄子贴着胸抱着手机，进女澡堂喊妈妈，一直喊，逛完一圈就出来，，，，尼玛","state":"publish","comments_count":85,"allow_comment":true,"share_count":115,"type":"hot"},{"format":"word","image":null,"published_at":1471063501,"tag":"","user":{"avatar_updated_at":1463176072,"uid":31777734,"last_visited_at":1463176068,"created_at":1463176068,"state":"active","last_device":"android_9.4.1","role":"n","login":"女人TM越宠越有种","id":31777734,"icon":"20160513214748.jpg"},"image_size":null,"id":117258300,"votes":{"down":-57,"up":1959},"created_at":1471061071,"content":"真事不割，媳妇怀孕3个月了，昨天发小带着他女朋友来我家吃饭，我就开玩笑对他说：你们动作搞快点，你看看我，再过几个月都要当爹了。\n发小就说：瞧你得瑟的，要不是当年拿掉了，我孩子都2岁了！说完他就后悔了，因为他这个女朋友才处了一年。然后他女朋友就和他打起来了，我特么拦都拦不住啊！","state":"publish","comments_count":46,"allow_comment":true,"share_count":12,"type":"hot"},{"format":"word","image":null,"published_at":1471059901,"tag":"","user":{"avatar_updated_at":1469731050,"uid":32223786,"last_visited_at":1468949099,"created_at":1468949099,"state":"active","last_device":"android_10.1.1","role":"n","login":"阳二姐","id":32223786,"icon":"201607281837307.JPEG"},"image_size":null,"id":117257806,"votes":{"down":-45,"up":1402},"created_at":1471057087,"content":"昨天老妈搞大扫除，翻出我儿时的相片，说起我小时候的事：那一年，你小妹出生后不久就被计生办的知道了，便上门催罚款，还要拆房子，每次他们一来，你爸便提前将你姐和弟送去外婆家\u2026\u2026\n我急忙插话问：那我呢？也送外婆家去了吗？\n老妈斜着眼睛瞟了我一眼，慢悠悠道：你？那天，你流着口水，弄得鼻涕泡满脸都是 ，追着计生办的小伙子叫爷爷，还抓着他硬要塞着自己刚拉的粑 粑给他吃\u2026\u2026\n说到这，老妈用同情的眼神看了我好一会，继续道：后来，计生办的同志被你吓走了，你也在村里出了名\u2026\u2026","state":"publish","comments_count":25,"allow_comment":true,"share_count":9,"type":"hot"},{"format":"word","image":null,"published_at":1471067102,"tag":"","user":{"avatar_updated_at":1470933703,"uid":32409280,"last_visited_at":1470933702,"created_at":1470933702,"state":"active","last_device":"android_10.1.1","role":"n","login":"猫猫艾松","id":32409280,"icon":"2016081116414285.JPEG"},"image_size":null,"id":117258758,"votes":{"down":-8,"up":322},"created_at":1471064508,"content":"和老公刚刚领证，每次亲爸有什么话都是我做中间人转达给老公，有一次\n我:老公，你加上我爸微信吧，有什么事你俩直接说，不要找我传话了。\n老公:好，那我加的时候说我是谁呢？\n我:你就说你是人贩子，问他卖闺女吧？\n老公:这不错，你给他说一声也许能打个折。。。\n许久后。。。\n我:加上了吗？\n老公:没有呢，难道是我写的申请理由不对？\n我:你写了啥呀？\n老公:你女儿在我手里，嘿嘿嘿。。。","state":"publish","comments_count":9,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471074302,"tag":"","user":{"avatar_updated_at":1471100246,"uid":32423227,"last_visited_at":1471100245,"created_at":1471100245,"state":"active","last_device":"android_10.1.1","role":"n","login":"一二三个介","id":32423227,"icon":"2016081314572679.JPEG"},"image_size":null,"id":117259502,"votes":{"down":-10,"up":75},"created_at":1471071574,"content":"唐僧师徒四人，路过平顶山，后孙悟空被人以五百元价格卖给一个耍杂技的了。","state":"publish","comments_count":2,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1471062902,"tag":"","user":{"avatar_updated_at":1431701713,"uid":28437598,"last_visited_at":1431701712,"created_at":1431701712,"state":"active","last_device":"ios_6.7.2","role":"n","login":"别打听朕的名字","id":28437598,"icon":"20150515225512.jpg"},"image_size":null,"id":117258202,"votes":{"down":-29,"up":885},"created_at":1471060381,"content":"杭州路上安检卡口真是严格，刚才汽车后备箱有一箱红酒，说怀疑违禁品，除非证明是红酒。那就每瓶喝一口证明是红酒。汗流夹背的打开每瓶，喝一口。过关了，系好安全带，回家吧！刚启动车子，警察说下来下来，酒后驾车！带走！","state":"publish","comments_count":32,"allow_comment":true,"share_count":16},{"format":"word","image":null,"published_at":1471064703,"tag":"","user":{"avatar_updated_at":1461369032,"uid":29314260,"last_visited_at":1436297491,"created_at":1436297491,"state":"active","last_device":"android_7.1.1","role":"n","login":"(糗名昭著)~贝贝","id":29314260,"icon":"20160422235031.jpg"},"image_size":null,"id":117258471,"votes":{"down":-26,"up":676},"created_at":1471062245,"content":"和小侄女在家磕瓜子！\n小侄女说：好无聊，要不咱俩看谁剥瓜子皮吧，看谁剥的多\n比就比，谁怕谁！\n然后在我一个不注意，小侄女一把抓起我面前的瓜子仁倒进嘴里\u2026\u2026","state":"publish","comments_count":26,"allow_comment":true,"share_count":2},{"format":"word","image":null,"published_at":1471060502,"tag":"","user":{"avatar_updated_at":1453489533,"uid":29447394,"last_visited_at":1437060574,"created_at":1437060574,"state":"active","last_device":"android_6.7.1","role":"n","login":"娜奴娃","id":29447394,"icon":"20160122190531.jpg"},"image_size":null,"id":117257915,"votes":{"down":-22,"up":915},"created_at":1471058021,"content":"酒这个东西，能不沾就尽量别沾，刚刚我就亲临了一件酒后暴力事件\u2026\u2026\n\n我老婆喝醉了，把我打了一顿\u2026\u2026","state":"publish","comments_count":21,"allow_comment":true,"share_count":7},{"format":"word","image":null,"published_at":1471065902,"tag":"","user":{"avatar_updated_at":1434034973,"uid":19417745,"last_visited_at":1407966976,"created_at":1407966976,"state":"bonded","last_device":"ios_3.1.2","role":"n","login":"么么萌萌嗒","id":19417745,"icon":"20150611230253.jpg"},"image_size":null,"id":117258638,"votes":{"down":-18,"up":414},"created_at":1471063455,"content":"曾经很傻很天真：抓着2毛钱，准备去买口香糖吃，一边走一边蹦蹦跳跳甩着手，一毛钱从指缝掉进了草垛堆，找了半天没结果，想着再扔一次，看能掉落在哪，最后我就记得有一个人在草垛旁打滚。","state":"publish","comments_count":6,"allow_comment":true,"share_count":4},{"format":"word","image":null,"published_at":1471067102,"tag":"","user":{"avatar_updated_at":1402107797,"uid":355079,"last_visited_at":0,"created_at":1324414027,"state":"bonded","last_device":"","role":"n","login":"非法入禁","id":355079,"icon":"20140607102316.jpg"},"image_size":null,"id":117258888,"votes":{"down":-19,"up":396},"created_at":1471065628,"content":"周末陪老婆去周六福买首饰，旁边一理工男带着女朋友也在挑，可能是嫌贵，理工男说：你知道吗？其实这个金子和一堆牛屎本质上是一样的，都是由质子，中子和和外电子组成的，你带着这个和脖子上挂陀牛屎差不多\u2026\u2026\n我看到卖首饰的美女脸都绿了，朋友，你能活到现在，并且还有女朋友也是个奇迹","state":"publish","comments_count":9,"allow_comment":true,"share_count":2},{"format":"word","image":null,"published_at":1471070701,"tag":"","user":{"avatar_updated_at":1470812514,"uid":32398619,"last_visited_at":1470812513,"created_at":1470812513,"state":"active","last_device":"ios_10.2.4","role":"n","login":"隔壁你张大爷～～","id":32398619,"icon":"2016081007015466.JPEG"},"image_size":null,"id":117259298,"votes":{"down":-2,"up":134},"created_at":1471069477,"content":"去参加前女友的婚礼，我拿起酒杯对着新郎把酒喝完，对他说:\u201c我干过了，现在轮到你了。\u201d新郎很开心的也喝了一杯，半天后他好像发现了什么","state":"publish","comments_count":2,"allow_comment":true,"share_count":1,"type":"fresh"},{"format":"word","image":null,"published_at":1471074303,"tag":"","user":{"avatar_updated_at":1432653205,"uid":18431795,"last_visited_at":1406489792,"created_at":1406489792,"state":"active","last_device":"android_3.0.4","role":"n","login":"beyond丶冷暖自知","id":18431795,"icon":"20150526231324.jpg"},"image_size":null,"id":117259557,"votes":{"down":-11,"up":77},"created_at":1471072181,"content":"今天在家玩撸啊撸，对面有个游戏名字叫狗狗，我马上笑着喊室友过来看，说你看还有人叫狗的，室友过来看了一眼说到：别人不是哪个意思，说的是你打赢了是赢了狗，打不赢是狗都不如。我禁无言以对，城里套路深，我要回农村。","state":"publish","comments_count":0,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1471068301,"tag":"","user":{"avatar_updated_at":1441234656,"uid":30216490,"last_visited_at":1441234208,"created_at":1441234208,"state":"active","last_device":"android_7.2.0","role":"n","login":"ＭｏＭａｅｋ","id":30216490,"icon":"20150902225735.jpg"},"image_size":null,"id":117258542,"votes":{"down":-5,"up":215},"created_at":1471062769,"content":"有点长，不割，跟女票网恋的，特意从为了过来过七夕坐十五个小时硬座来陪她，来这才知道她跟同事三女二男一起合租个两室一厅，这几天都是各种借口说有事不能陪我，感觉像是进了传销窝点，糗友们说我该怎么办？在线等\u2026\u2026","state":"publish","comments_count":33,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1471067701,"tag":"","user":{"avatar_updated_at":1420604520,"uid":24556769,"last_visited_at":1420604519,"created_at":1420604519,"state":"active","last_device":"android_5.0.0","role":"n","login":"去死吧，破网名这也存在那也存在","id":24556769,"icon":"20150107122200.jpg"},"image_size":null,"id":117258473,"votes":{"down":-12,"up":283},"created_at":1471062270,"content":"以前听一个同事说，老板给了他一张100的支票，他去银行兑换，一听是兑支票，经理亲自接待，带到办公室先上茶又递烟，等拿到支票一看，脸都绿了","state":"publish","comments_count":4,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471064702,"tag":"","user":{"avatar_updated_at":1437805159,"uid":23566073,"last_visited_at":1417991379,"created_at":1417991379,"state":"active","last_device":"android_4.0.0","role":"n","login":"决绝小女子","id":23566073,"icon":"20150725061919.jpg"},"image_size":null,"id":117258380,"votes":{"down":-30,"up":1086},"created_at":1471061646,"content":"昨晚我爸外面应酬喝醉了，到家我给他倒水喝的时候，他神秘兮兮的拉着我说：闺女，其实\u2026\u2026你是个男孩子！\n说完这句就睡了\u2026\u2026留我一人蒙蔽凌乱\u2026\u2026","state":"publish","comments_count":58,"allow_comment":true,"share_count":5,"type":"hot"},{"format":"word","image":null,"published_at":1471070101,"tag":"","user":{"avatar_updated_at":1459740870,"uid":12863113,"last_visited_at":1386586504,"created_at":1386586504,"state":"active","last_device":"android_2.6.3","role":"n","login":"我是男神的爸爸","id":12863113,"icon":"20160404033429.jpg"},"image_size":null,"id":117259230,"votes":{"down":-3,"up":148},"created_at":1471068791,"content":"你们能够想象，没有钱的一天没有饭吃，突然在床底下看见5块钱的心情嘛？，，然后买了一桶方便面，刚刚泡好装备吃然后手一抖掉地上的那种痛苦嘛？我现在想哭","state":"publish","comments_count":5,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1471065302,"tag":"","user":{"avatar_updated_at":1397378583,"uid":11698889,"last_visited_at":1381297467,"created_at":1381297467,"state":"active","last_device":"android_2.6","role":"n","login":"文俊0627","id":11698889,"icon":"20140413164303.jpg"},"image_size":null,"id":117258597,"votes":{"down":-12,"up":295},"created_at":1471063154,"content":"本人业务员，业余时间较多就跑跑滴滴。跑的时间有点多了在福州也敢自称老司机了。。。\n昨晚12点多在首山路接了个订单，打电话过去问具体方位，女乘客回说在红绿灯口，我看着首山路那几百米就有一个红绿灯的路，顿时懵了。。。\n好不容易接到人了，她说要去接她闺密。到了她闺密的住处附近，问她闺密具体位置，她闺密回说她住的地方楼下是铁门。看着路边一排打烊店面整齐的关着铁帘门，我踏马的这是造了什么孽碰上这么一对闺密！！！","state":"publish","comments_count":14,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471064102,"tag":"","user":{"avatar_updated_at":1461369032,"uid":29314260,"last_visited_at":1436297491,"created_at":1436297491,"state":"active","last_device":"android_7.1.1","role":"n","login":"(糗名昭著)~贝贝","id":29314260,"icon":"20160422235031.jpg"},"image_size":null,"id":117258462,"votes":{"down":-19,"up":455},"created_at":1471062177,"content":"过几天堂妹结婚，我在寻思买件什么衣服才显得我低调奢华有内涵重要的是招眼球\u2026\n堂弟说：姐，就你那脸蛋你的身材\u2026\u2026啧啧，，，穿皇帝的新装都没人看你\u2026\u2026\n我擦。。。。","state":"publish","comments_count":18,"allow_comment":true,"share_count":3},{"format":"word","image":null,"published_at":1471076101,"tag":"","user":{"avatar_updated_at":1463072395,"uid":30601949,"last_visited_at":1447247945,"created_at":1447247945,"state":"active","last_device":"android_8.3.2","role":"n","login":"诗落何寻","id":30601949,"icon":"20160512165954.jpg"},"image_size":null,"id":117259722,"votes":{"down":-1,"up":67},"created_at":1471073755,"content":"有次去一个饲料厂参观，业务员介绍他们产品，就跟上课似的坐了好多的养殖户，男女都有，此为背景。\n 黑板上正在讲的绘声绘色，我前面一个大叔级别的在玩手机，突然声音特别大：\u201c啊\u2026啊\u2026老公\u2026啊\u2026\u201d我们满堂好多人都装作听不懂的样子，差点没给憋死，那业务员脸都憋红了还继续讲\u2026","state":"publish","comments_count":0,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1471064101,"tag":"","user":{"avatar_updated_at":1453058533,"uid":1816149,"last_visited_at":1337236529,"created_at":1337236529,"state":"bonded","last_device":"android_1.3.1","role":"n","login":"黄蝉","id":1816149,"icon":"20160117192213.jpg"},"image_size":null,"id":117258038,"votes":{"down":-19,"up":459},"created_at":1471058937,"content":"旅游第一天，大清早电话把我吵醒。经理怒气冲冲的把我骂一顿，因为我手下员工做错事。我一边道歉，说等我回去好好处理\u2026\u2026突然反应过来，我TM是辞职出来旅行的，现在关我屁事\u2026\u2026","state":"publish","comments_count":7,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471062301,"tag":"","user":{"avatar_updated_at":1440351286,"uid":17221979,"last_visited_at":1403666323,"created_at":1403666323,"state":"active","last_device":"android_3.0.1","role":"n","login":"挖鼻孔的老虎","id":17221979,"icon":"20150823173445.jpg"},"image_size":null,"id":117258163,"votes":{"down":-39,"up":1088},"created_at":1471060031,"content":"表弟被家里催婚，无奈之下花钱找了个小 姐装他女朋友。谁知一带回家就被舅舅拆穿了，舅舅大发雷霆，把那女的赶走，对着表弟大骂:\u201c居然带个野 鸡回家，你想气 死 我吗！\u201d\n舅妈忙劝舅舅别太生气了，劝着劝着忽然眼睛一瞪，头顶好像亮起个小灯泡似的:\u201c你咋知道她是干什么的！\u201d\n现在，轮到我们劝舅妈冷静点。","state":"publish","comments_count":27,"allow_comment":true,"share_count":9,"type":"hot"},{"format":"word","image":null,"published_at":1471059901,"tag":"","user":{"avatar_updated_at":1368539964,"uid":3872409,"last_visited_at":1349044849,"created_at":1349044849,"state":"bonded","last_device":"web","role":"n","login":"小小小稻草人","id":3872409,"icon":"20130514215924.jpg"},"image_size":null,"id":117257833,"votes":{"down":-24,"up":773},"created_at":1471057402,"content":"突然想起以前高中的时候。那时候夏天男生女生基本都是短袖，我在夏天最喜欢的事就是，拿一道难题去找我们班的美女学委，坐她对面看她努力算题，而我则看着她张开的衣领发呆，直到有一天挨了她一巴掌。","state":"publish","comments_count":14,"allow_comment":true,"share_count":3},{"format":"word","image":null,"published_at":1471064702,"tag":"","user":{"avatar_updated_at":1461369032,"uid":29314260,"last_visited_at":1436297491,"created_at":1436297491,"state":"active","last_device":"android_7.1.1","role":"n","login":"(糗名昭著)~贝贝","id":29314260,"icon":"20160422235031.jpg"},"image_size":null,"id":117258503,"votes":{"down":-22,"up":482},"created_at":1471062489,"content":"前几天表哥生病住院，医生通知可以出院了，表哥马上放下手机一脸痛苦的说我觉得我还没好，肚子里好疼，让我再住两天吧\u2026\u2026\n表嫂悠悠的说：家里拉光纤了，比这里网速还快\u2026\u2026！\n表哥听了飞快的从床上下来自己麻溜的收拾东西：卧槽！你个败家娘们还不赶快收拾东西，多住一天医院多花多少钱你知道不？？","state":"publish","comments_count":11,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1471067103,"tag":"","user":{"avatar_updated_at":1468619284,"uid":32192375,"last_visited_at":1468619283,"created_at":1468619283,"state":"active","last_device":"android_9.1.2","role":"n","login":"孙暖暖啊！","id":32192375,"icon":"20160715214803.jpg"},"image_size":null,"id":117258711,"votes":{"down":-7,"up":226},"created_at":1471064117,"content":"楼主比较喜欢研究吃，没事宅在家就爱在厨房捣鼓，，，，所以练就一手好厨艺，，拥有一手好厨艺的下场就是我妈只要我不上班在家的话就使唤我做饭，更坑爹的是逢年过节家里来亲戚客人的时候，我爸妈就会把我揪着做饭，，他们俩就更没事人一样陪亲戚朋友坐着聊天喝茶，，，，，每当别人都在外面嗨，我却忙碌在厨房时，我就特别想剁了我的手，，，，，","state":"publish","comments_count":14,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471063501,"tag":"","user":{"avatar_updated_at":1452812502,"uid":21739965,"last_visited_at":1413378499,"created_at":1413378499,"state":"active","last_device":"android_3.4.0","role":"n","login":"Loosmi","id":21739965,"icon":"20160114230142.jpg"},"image_size":null,"id":117258284,"votes":{"down":-37,"up":1164},"created_at":1471060951,"content":"同事他和她老婆的故事，是这样的，小时候他两就是同学，同事经常欺负恶作剧她，后来上高中的时候就没怎么见过了，等工作了，一次同学聚会见上了，她还是那么的柔弱可人，然后两人慢慢发展成了恋人然后结婚，但是婚后，他老婆就彻底变成了汉子，只要一言不合就把他打了，原来没见的那几年里，她老婆练了很长一段时间散打。后来他问她老婆为什么嫁给他，回答，上学时被你欺负惯了，然后学了散打，和你谈恋爱结婚，就是为了报仇，报仇。。","state":"publish","comments_count":31,"allow_comment":true,"share_count":11,"type":"hot"},{"format":"word","image":null,"published_at":1471076101,"tag":"","user":{"avatar_updated_at":1467145752,"uid":13226322,"last_visited_at":1388893313,"created_at":1388893313,"state":"bonded","last_device":"android_2.6.4","role":"n","login":"寡人帝辛","id":13226322,"icon":"20160628202911.jpg"},"image_size":null,"id":117259651,"votes":{"down":-1,"up":60},"created_at":1471073167,"content":"幼儿园快开学了，最近天天嘱咐儿子:\u201c在幼儿园里要听老师的话，和小朋友和睦相处，不要打架，不要丢爸爸妈妈的脸\u2026\u2026\u201d儿子\u201c知道了知道了，我又没拿着你们的脸去上学\u2026\u2026\u201d","state":"publish","comments_count":0,"allow_comment":true,"share_count":1,"type":"fresh"},{"format":"word","image":null,"published_at":1471067102,"tag":"","user":{"avatar_updated_at":1454450331,"uid":19075033,"last_visited_at":1407542303,"created_at":1407542303,"state":"bonding","last_device":"android_3.0.5","role":"n","login":"霸王枪之点射","id":19075033,"icon":"20160202215851.jpg"},"image_size":null,"id":117258631,"votes":{"down":-6,"up":219},"created_at":1471063393,"content":"二叔去吃卤肉饭被揍了。\n\n打完饭人老板问他要加卤汁吗？\n这货贱兮兮的瞅着人老板娘笑了笑:\u201c有点下垂，不加！\u201d","state":"publish","comments_count":4,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1471061702,"tag":"","user":{"avatar_updated_at":1468268267,"uid":30198379,"last_visited_at":1440963796,"created_at":1440963796,"state":"active","last_device":"android_7.2.0","role":"n","login":"傻傻的九命鼠","id":30198379,"icon":"20160711201746.jpg"},"image_size":null,"id":117258074,"votes":{"down":-38,"up":925},"created_at":1471059229,"content":"坐公交碰见女同事了，就聊了会~~这时车停了，上来一位标准大美女，齐逼小小短裙，露着白花花的大腿。我去做为单身狗立马就可耻，的硬了。。。\n顶着实在难受，我扭头就看着女同事。女同事被我看的发毛了，弱弱的问：我脸上有什么？干嘛盯着我看~~说着说着居然脸红了。\n我连忙解释说：看见你我就能，软了~~~~~~","state":"publish","comments_count":17,"allow_comment":true,"share_count":8},{"format":"word","image":null,"published_at":1471055102,"tag":"","user":{"avatar_updated_at":1368250376,"uid":6961165,"last_visited_at":1361792707,"created_at":1361792707,"state":"active","last_device":"android_2.1.3","role":"n","login":"天堂的垃圾","id":6961165,"icon":"20130511133256.jpg"},"image_size":null,"id":117257374,"votes":{"down":-24,"up":1085},"created_at":1471053544,"content":"媳妇上班的公司员工很多，但是流动性挺大。昨天去公司培训，发现上了一个月的班，现在成公司老员工了。","state":"publish","comments_count":29,"allow_comment":true,"share_count":1,"type":"hot"}]
     * total : 1000
     * page : 1
     * refresh : 1000
     */

    private int count;
    private int err;
    private int total;
    private int page;
    private int refresh;
    /**
     * format : word
     * image : null
     * published_at : 1471065902
     * tag :
     * user : {"avatar_updated_at":1470492953,"uid":11177867,"last_visited_at":1378741917,"created_at":1378741917,"state":"bonded","last_device":"android_2.6","role":"n","login":"孟婆卖萌不卖汤、","id":11177867,"icon":"2016080614155363.JPEG"}
     * image_size : null
     * id : 117258621
     * votes : {"down":-12,"up":473}
     * created_at : 1471063330
     * content : 姐妹儿旅游住旅馆，走的时候让旅馆师傅把她送到安全点的地方下车。于是，她们就在公安局下车了。哈哈哎哎哎……
     * state : publish
     * comments_count : 17
     * allow_comment : true
     * share_count : 8
     */

    private List<Itemsbean> items;

    public static ChunWen objectFromData(String str) {

        return new com.google.gson.Gson().fromJson(str, ChunWen.class);
    }

    public static ChunWen objectFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);

            return new com.google.gson.Gson().fromJson(jsonObject.getString(str), ChunWen.class);
        } catch (JSONException e) {
            e.printStackTrace();
        }

        return null;
    }

    public static List<ChunWen> arrayChunWenFromData(String str) {

        Type listType = new com.google.gson.reflect.TypeToken<ArrayList<ChunWen>>() {
        }.getType();

        return new com.google.gson.Gson().fromJson(str, listType);
    }

    public static List<ChunWen> arrayChunWenFromData(String str, String key) {

        try {
            JSONObject jsonObject = new JSONObject(str);
            Type listType = new com.google.gson.reflect.TypeToken<ArrayList<ChunWen>>() {
            }.getType();

            return new com.google.gson.Gson().fromJson(jsonObject.getString(str), listType);

        } catch (JSONException e) {
            e.printStackTrace();
        }

        return new ArrayList();


    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getErr() {
        return err;
    }

    public void setErr(int err) {
        this.err = err;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRefresh() {
        return refresh;
    }

    public void setRefresh(int refresh) {
        this.refresh = refresh;
    }

    public List<Itemsbean> getItems() {
        return items;
    }

    public void setItems(List<Itemsbean> items) {
        this.items = items;
    }

    public static class Itemsbean {
        private String format;
        private Object image;
        private int published_at;
        private String tag;
        /**
         * avatar_updated_at : 1470492953
         * uid : 11177867
         * last_visited_at : 1378741917
         * created_at : 1378741917
         * state : bonded
         * last_device : android_2.6
         * role : n
         * login : 孟婆卖萌不卖汤、
         * id : 11177867
         * icon : 2016080614155363.JPEG
         */

        private Userbean user;
        private Object image_size;
        private int id;
        /**
         * down : -12
         * up : 473
         */

        private Votesbean votes;
        private int created_at;
        private String content;
        private String state;
        private int comments_count;
        private boolean allow_comment;
        private int share_count;

        public static Itemsbean objectFromData(String str) {

            return new com.google.gson.Gson().fromJson(str, Itemsbean.class);
        }

        public static Itemsbean objectFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);

                return new com.google.gson.Gson().fromJson(jsonObject.getString(str), Itemsbean.class);
            } catch (JSONException e) {
                e.printStackTrace();
            }

            return null;
        }

        public static List<Itemsbean> arrayItemsbeanFromData(String str) {

            Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Itemsbean>>() {
            }.getType();

            return new com.google.gson.Gson().fromJson(str, listType);
        }

        public static List<Itemsbean> arrayItemsbeanFromData(String str, String key) {

            try {
                JSONObject jsonObject = new JSONObject(str);
                Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Itemsbean>>() {
                }.getType();

                return new com.google.gson.Gson().fromJson(jsonObject.getString(str), listType);

            } catch (JSONException e) {
                e.printStackTrace();
            }

            return new ArrayList();


        }

        public String getFormat() {
            return format;
        }

        public void setFormat(String format) {
            this.format = format;
        }

        public Object getImage() {
            return image;
        }

        public void setImage(Object image) {
            this.image = image;
        }

        public int getPublished_at() {
            return published_at;
        }

        public void setPublished_at(int published_at) {
            this.published_at = published_at;
        }

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public Userbean getUser() {
            return user;
        }

        public void setUser(Userbean user) {
            this.user = user;
        }

        public Object getImage_size() {
            return image_size;
        }

        public void setImage_size(Object image_size) {
            this.image_size = image_size;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public Votesbean getVotes() {
            return votes;
        }

        public void setVotes(Votesbean votes) {
            this.votes = votes;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public int getComments_count() {
            return comments_count;
        }

        public void setComments_count(int comments_count) {
            this.comments_count = comments_count;
        }

        public boolean isAllow_comment() {
            return allow_comment;
        }

        public void setAllow_comment(boolean allow_comment) {
            this.allow_comment = allow_comment;
        }

        public int getShare_count() {
            return share_count;
        }

        public void setShare_count(int share_count) {
            this.share_count = share_count;
        }

        public static class Userbean {
            private int avatar_updated_at;
            private int uid;
            private int last_visited_at;
            private int created_at;
            private String state;
            private String last_device;
            private String role;
            private String login;
            private int id;
            private String icon;

            public static Userbean objectFromData(String str) {

                return new com.google.gson.Gson().fromJson(str, Userbean.class);
            }

            public static Userbean objectFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);

                    return new com.google.gson.Gson().fromJson(jsonObject.getString(str), Userbean.class);
                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return null;
            }

            public static List<Userbean> arrayUserbeanFromData(String str) {

                Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Userbean>>() {
                }.getType();

                return new com.google.gson.Gson().fromJson(str, listType);
            }

            public static List<Userbean> arrayUserbeanFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);
                    Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Userbean>>() {
                    }.getType();

                    return new com.google.gson.Gson().fromJson(jsonObject.getString(str), listType);

                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return new ArrayList();


            }

            public int getAvatar_updated_at() {
                return avatar_updated_at;
            }

            public void setAvatar_updated_at(int avatar_updated_at) {
                this.avatar_updated_at = avatar_updated_at;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getLast_visited_at() {
                return last_visited_at;
            }

            public void setLast_visited_at(int last_visited_at) {
                this.last_visited_at = last_visited_at;
            }

            public int getCreated_at() {
                return created_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public String getState() {
                return state;
            }

            public void setState(String state) {
                this.state = state;
            }

            public String getLast_device() {
                return last_device;
            }

            public void setLast_device(String last_device) {
                this.last_device = last_device;
            }

            public String getRole() {
                return role;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public String getLogin() {
                return login;
            }

            public void setLogin(String login) {
                this.login = login;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }
        }

        public static class Votesbean {
            private int down;
            private int up;

            public static Votesbean objectFromData(String str) {

                return new com.google.gson.Gson().fromJson(str, Votesbean.class);
            }

            public static Votesbean objectFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);

                    return new com.google.gson.Gson().fromJson(jsonObject.getString(str), Votesbean.class);
                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return null;
            }

            public static List<Votesbean> arrayVotesbeanFromData(String str) {

                Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Votesbean>>() {
                }.getType();

                return new com.google.gson.Gson().fromJson(str, listType);
            }

            public static List<Votesbean> arrayVotesbeanFromData(String str, String key) {

                try {
                    JSONObject jsonObject = new JSONObject(str);
                    Type listType = new com.google.gson.reflect.TypeToken<ArrayList<Votesbean>>() {
                    }.getType();

                    return new com.google.gson.Gson().fromJson(jsonObject.getString(str), listType);

                } catch (JSONException e) {
                    e.printStackTrace();
                }

                return new ArrayList();


            }

            public int getDown() {
                return down;
            }

            public void setDown(int down) {
                this.down = down;
            }

            public int getUp() {
                return up;
            }

            public void setUp(int up) {
                this.up = up;
            }
        }
    }
}
